package org.jeecg.modules.asset.hirelist.service.impl;

import org.jeecg.modules.asset.hirelist.entity.Hirelist;
import org.jeecg.modules.asset.hirelist.mapper.HirelistMapper;
import org.jeecg.modules.asset.hirelist.service.IHirelistService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: HireList
 * @Author: jeecg-boot
 * @Date:   2020-03-31
 * @Version: V1.0
 */
@Service
public class HirelistServiceImpl extends ServiceImpl<HirelistMapper, Hirelist> implements IHirelistService {

    @Autowired
    private HirelistMapper hirelistMapper;

    @Override
    public List<Hirelist> getByHireGuid(String hireguid) {
        return hirelistMapper.getByHireGuid(hireguid);
    }

    @Override
    public List<Hirelist> getWeiJiaoByHireGuid(String hireguid) {
        return hirelistMapper.getWeiJiaoByHireGuid(hireguid);
    }
}
